package de.szut.sudoku.gui.sudokufield;

import java.awt.Font;
import java.awt.event.KeyAdapter;
import java.awt.event.MouseAdapter;

/**
 * Sudoku button on the SudokuField
 * 
 * @author dqi12huisinga
 * 
 */
@SuppressWarnings("serial")
public class SudokuButton extends SudokuFieldLabel {
	public final static int WIDTH = 40;
	public final static int HEIGHT = 40;

	// Generates the SudokuButton on instantiation
	public SudokuButton(int xPosition, int yPosition, KeyAdapter keyListener,
			MouseAdapter clickListener) {
		super(xPosition, yPosition, keyListener, clickListener);
		setBounds(xPosition, yPosition, WIDTH, HEIGHT);
		setFont(new Font("Tahoma", Font.BOLD, 15));
	}
}
